﻿CREATE TABLE [dbo].[event_attendee] (
    [event_attendee_id] BIGINT   IDENTITY (1, 1) NOT NULL,
    [on_real_event]     BIT      NULL,
    [registration_date] DATETIME NULL,
    [event_id]          BIGINT   NULL,
    [user_id]           BIGINT   NULL,
    PRIMARY KEY CLUSTERED ([event_attendee_id] ASC),
    CONSTRAINT [FKD30727A071DB51AD] FOREIGN KEY ([user_id]) REFERENCES [dbo].[users] ([user_id]),
    CONSTRAINT [FKD30727A07B4817AB] FOREIGN KEY ([event_id]) REFERENCES [dbo].[event] ([content_item_id])
);

